/**
 * Copyright &copy; 2012-2016 civet All rights reserved.
 */
package cn.mcsys.myadmin.modules.mobile.entity;

import java.io.Serializable;
import java.util.Date;
import org.hibernate.validator.constraints.Length;

import cn.mcsys.myadmin.common.persistence.DataEntity;

/**
 * 区域实时流入流出人群Entity
 * @author leopold
 * @version 2018-10-02
 */
public class AirUserFlowCount implements Serializable {
	
	private static final long serialVersionUID = 1L;
	private Long id;
	private Date startDateTime;		// 统计时间
	private Integer areaId;		// 区域编码
	private Long userInflowCount;		// 流入人数
	private Long userOutflowCount;		// 流出人数
	private String note;		// 备注
	
	public AirUserFlowCount() {
		super();
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getStartDateTime() {
		return startDateTime;
	}

	public void setStartDateTime(Date startDateTime) {
		this.startDateTime = startDateTime;
	}
	
	public Integer getAreaId() {
		return areaId;
	}

	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}
	
	public Long getUserInflowCount() {
		return userInflowCount;
	}

	public void setUserInflowCount(Long userInflowCount) {
		this.userInflowCount = userInflowCount;
	}
	
	public Long getUserOutflowCount() {
		return userOutflowCount;
	}

	public void setUserOutflowCount(Long userOutflowCount) {
		this.userOutflowCount = userOutflowCount;
	}
	
	@Length(min=0, max=255, message="备注长度必须介于 0 和 255 之间")
	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}
	
}